﻿using GrainManage.Web.Resources;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace GrainManage.Web.Models.Image
{
    public class AddImageModel
    {
        [Required(ErrorMessageResourceType = typeof(ImageResx), ErrorMessageResourceName = "ImageNameRequired")]
        [Display(ResourceType = typeof(ImageResx), Name = "ImageName")]
        public string ImageName { get; set; }

        [Display(ResourceType = typeof(ImageResx), Name = "ImageType")]
        public string ImageType { get; set; }

        [Required(ErrorMessageResourceType = typeof(ImageResx), ErrorMessageResourceName = "PathIDRequired")]
        [Display(ResourceType = typeof(ImageResx), Name = "PathID")]
        public int PathID { get; set; }

        [Display(ResourceType = typeof(ImageResx), Name = "Remarks")]
        public string Remarks { get; set; }
    }
}